package com.honey.mybatis.generator.page.method;

import com.honey.compilation.java.MethodDecoration;
import com.honey.mybatis.generator.AbstractMethod;
import com.honey.mybatis.generator.page.PageConstant;

public class DefaultConstructorMethod extends AbstractMethod {

	private static final String[] JAVA_DOC = new String[]{
		"默认的构造函数"
	}; 
	
	@Override
	protected String getMethodName() {
		return PageConstant.PAGE_NAME;
	}

	@Override
	protected MethodDecoration getMethodDecoration() {
		MethodDecoration answer =  super.getMethodDecoration() ;
		answer.setConstructor(true);
		return answer;
	}

	@Override
	protected String[] getJavaDoc() {
		return JAVA_DOC;
	}
	
	
}
